WPForms\Forms\AntiSpam S

Total Complexity 35
Dependencies 0
Dependents 0
Total lines 374
Lines of code 171
Logical lines of code 91
Comment lines 138
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
validate()
S
54 7 21
maybe_insert_honeypot_init_js()
S
50 5 34
maybe_insert_honeypot_field()
S
51 5 30
get_honeypot_label()
S
55 3 19
get_random_field()
S
65 3 10
get_honeypot_field_id()
S
64 3 9
init_builder_settings_form_data()
S
65 3 9
is_honeypot_enabled()
S
66 2 8
hooks()
S
60 1 12
update_template_form_data()
S
62 1 11
init()
S
82 1 3
add_frontend_strings()
S
73 1 5